import { createRouter, createWebHistory } from 'vue-router';
import type { RouteRecordRaw } from 'vue-router';

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    component: () => import('@/views/login/index.vue'),
    name: 'login',
    meta: {
      title: '登录',
      hidden: true,
      notNeedAuth: true
    }
  },
  // 其他路由
];

const router = createRouter({
  history: createWebHistory(),
  routes
});

export default router;